package dao;

import entity.User;

import java.util.List;

/**
 * Created by 2015302580057 on 2017/7/11.
 */
public interface UserDao  {
    public int addUser(User u);
    public int deleteUser(String uname);
    public int updateUser(User u);
    public User queryUserByEmail(String email);
    public User queryUserByUserName(String name);
    public User login(User u);
    public List queryAllUser();
    public int updateUserPassword(User u);
    public List<User> queryFollowToByUserName(String name);
}
